<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>盛世机电</title>
    <link href="/common/css/common-ui-cool.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="/css/system/operationLog.css" />
    <script>
        if(localStorage.getItem("token")==null){
            window.history.replaceState(null, "", '/login.html');
            location.reload()
        }
    </script>
</head>

<body>
    <div class="page-container">
        <div class="header-container">
            <img class="logo-img" src="/images/logo.png">
            <ul class="top-menu">
            </ul>
            <div class="headerTime">
                <span class="dateText"></span>
                <span class="timeText"></span>
            </div>
            <div class="userInfo">
                <i class="aidicon aidicon-account-circle"></i>
                <span class="name"></span>
                <span class="logout">退出</span>
            </div>
        </div>
        <div class="main-container">
            <ul class="side-menu"></ul>
            <div class="table-container">
                <ul class="tab-nav">
                    <li class="active" type="1">登录日志</li>
                    <li type="2">操作日志</li>
                </ul>
                <div class="tab-wrapper" style="height: calc(100% - 40px);">
                    <div class="select-wrap">
                        <div class="form-group">
                            <span class="label-text">操作用户：</span>
                            <div class="layout-date" style="width: 200px;display: inline-block;">
                                <input type="text" id="optUser" class="form-control inline-block" placeholder="请输入"
                                    autocomplete="off" />
                            </div>
                        </div>
                        <div class="form-group">
                            <span class="label-text">时间段选择：</span>
                            <div class="layout-date" style="width: 200px;display: inline-block;">
                                <input type="text" id="beginTime" class="form-control inline-block" placeholder="请选择"
                                    autocomplete="off" />
                                <i class="aidicon aidicon-calendar layout-icon-1"></i>
                            </div>
                            &ensp;-&ensp;
                            <div class="layout-date" style="width: 200px;display: inline-block;">
                                <input type="text" id="endTime" class="form-control inline-block" placeholder="请选择"
                                    autocomplete="off" />
                                <i class="aidicon aidicon-calendar layout-icon-2"></i>
                            </div>
                        </div>
                        <div class="form-group">
                            <button type="button" class="btn btn-default" id="searchBtn1">搜索</button>
                        </div>
                    </div>
                    <div class="table-wrap">
                        <table id="standard_table1" class="display datatable-xLarge" cellspacing="0" width="100%"
                            style="table-layout: fixed;">
                        </table>
                    </div>
                </div>
                <div class="tab-wrapper hidden" style="height: calc(100% - 40px);">
                    <div class="select-wrap">
                        <div class="form-group">
                            <span class="label-text">操作用户：</span>
                            <div class="layout-date" style="width: 200px;display: inline-block;">
                                <input type="text" id="optUser1" class="form-control inline-block" placeholder="请输入"
                                    autocomplete="off" />
                            </div>
                        </div>
                        <div class="form-group">
                            <span class="label-text">时间段选择：</span>
                            <div class="layout-date" style="width: 200px;display: inline-block;">
                                <input type="text" id="beginTime2" class="form-control inline-block" placeholder="请选择"
                                    autocomplete="off" />
                                <i class="aidicon aidicon-calendar layout-icon-3"></i>
                            </div>
                            &ensp;-&ensp;
                            <div class="layout-date" style="width: 200px;display: inline-block;">
                                <input type="text" id="endTime2" class="form-control inline-block" placeholder="请选择"
                                    autocomplete="off" />
                                <i class="aidicon aidicon-calendar layout-icon-4"></i>
                            </div>
                        </div>
                        <div class="form-group">
                            <span class="label-text">操作内容：</span>
                            <div class="layout-date" style="width: 200px;display: inline-block;">
                                <input type="text" id="content" class="form-control inline-block" placeholder="请输入"
                                    autocomplete="off" />
                            </div>
                        </div>
                        <div class="form-group">
                            <button type="button" class="btn btn-default" id="searchBtn2">搜索</button>
                        </div>
                    </div>
                    <div class="table-wrap">
                        <table id="standard_table2" class="display datatable-xLarge" cellspacing="0" width="100%"
                            style="table-layout: fixed;">
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="/common/js/lib/require/require.min.js"></script>
    <script>
        require(["/js/require.config.js"], function () {
            require(["/js/common/nav.js"],function(){
                require(["/js/system/operationLog.js"], function (app) {
                    app.init();
                });
            });
        });
    </script>
</body>

</html>